<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>添加跟进</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="<%=basePath %>admin/lib/layui-v2.5.5/css/layui.css" media="all" />
    <link rel="stylesheet" href="<%=basePath %>admin/css/public.css" media="all" />
</head>
<body class="childrenBody">
<h2>添加跟进</h2>
<form class="layui-form layui-form-pane" id="myForm" action="Javascript:void(0)">
    <div class="layui-form-item">
        <label class="layui-form-label"><span style="color: red">*</span>跟进类型</label>
        <div class="layui-input-inline">
            <input type="text" name="type" id="type" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label"><span style="color: red">*</span>跟进方式</label>
        <div class="layui-input-inline">
            <select name="mode" id="mode">
                <option value="全部">全部</option>
                <option value="到访">到访</option>
                <option value="电话">电话</option>
                <option value="微信">微信</option>
                <option value="短信">短信</option>
                <option value="邮件">邮件</option>
                <option value="QQ">QQ</option>
                <option value="其它">其它</option>
            </select>
        </div>
    </div>

    <div class="layui-form-item layui-form-text">
        <div class="layui-input-block">
            <textarea name="followContent" id="followContent" placeholder="请输入跟进内容" class="layui-textarea"></textarea>
            <div class="layui-form-mid layui-word-aux">已输入0/300</div>
            <button type="button" class="layui-btn demo-class-accept" lay-options="{accept: 'file'}">
                <i class="layui-icon layui-icon-upload"></i>
                上传文件
            </button>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label"><span style="color: red">*</span>客户名称：</label>
        <div class="layui-input-block">
            <input type="text" name="cusName" id="cusName" autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label"><span style="color: red">*</span>客户状态：</label>
        <div class="layui-col-md6">
            <select name="custatus" id="custatus">
                <option value="选择状态">选择状态</option>
                <option value="了解产品">了解产品</option>
                <option value="正在跟进">正在跟进</option>
                <option value="正在试用">正在试用</option>
                <option value="准备购买">准备购买</option>
                <option value="准备付款">准备付款</option>
                <option value="已经购买">已经购买</option>
                <option value="准备搁置">准备搁置</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label"><span style="color: red">*</span>联系人：</label>
        <div class="layui-input-inline">
            <input type="text" name="contactUser" id="contactUser" autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">提醒谁看：</label>
        <div class="layui-input-inline">
            <input type="text" name="who" id="who" lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
            <input type="checkbox" checked>创建下次跟进任务
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label"><span style="color: red">*</span>跟进时间：</label>
        <div class="layui-input-inline">
            <input type="date" name="followTime" id="followTime" lay-verify="required" placeholder="选择时间" autocomplete="off" class="layui-input">
        </div>
    </div>




    <div class="layui-form-item">
        <button class="layui-btn layui-btn-fluid" id="bao" lay-filter="addUser">保存</button>
    </div>
</form>
<script type="text/javascript" src="<%=basePath %>admin/lib/layui-v2.5.5/layui.js"></script>
<script type="text/javascript" src="<%=basePath %>admin/lib/jquery-3.4.1/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="<%=basePath %>admin/pagejs/system/user/addFollow.js">

</script>
</body>
</html>